MultiSafepay\WooCommerce\PaymentMethods\Base\BasePaymentMethod B

Total Complexity 80
Dependencies 12
Dependents 0
Total lines 575
Lines of code 330
Logical lines of code 149
Comment lines 160
Methods 21
Properties 8

Methods 21

Method Rating Maintainability Complexity Lines of code
validate_fields()
B
43 24 42
add_form_fields()
S
40 4 68
get_gateway_info_meta()
S
54 7 21
validate_enabled_field()
S
55 6 19
get_credit_card_payment_component_arguments()
S
49 5 29
process_payment()
S
51 4 25
__construct()
S
46 3 39
enqueue_payment_component_scripts()
S
60 4 12
enqueue_payment_component_styles()
S
63 4 11
can_refund_order()
S
70 3 6
has_fields()
S
72 2 6
get_logo()
S
64 2 9
validate_iban()
S
68 2 8
is_payment_component_enable()
S
67 2 7
is_tokenization_enable()
S
67 2 7
get_gateway_info()
S
81 1 3
get_checkout_fields_ids()
S
82 1 3
payment_fields()
S
80 1 3
get_order_statuses()
S
72 1 5
validate_gateway_info()
S
82 1 3
get_countries()
S
76 1 4